import 'package:json_annotation/json_annotation.dart';

part 'EcyMyOrderCommodity.g.dart';

@JsonSerializable()
class EcyMyOrderCommodity {
  EcyMyOrderCommodity();

  String? id;
  String? code;
  String? name;
  String? description;
  String? image;
  double? price;
  int? num;
  double? totalPrice;
  String? shopId;
  String? shopName;
  String? shopIcon;
  String? status;
  String? orderId;
  int? evaluateId;
  String? orderItemId;
  String? commodityId;
  String? commodityName;

  factory EcyMyOrderCommodity.fromJson(Map<String,dynamic> json) => _$EcyMyOrderCommodityFromJson(json);
  Map<String, dynamic> toJson() => _$EcyMyOrderCommodityToJson(this);
}
